//
//  UgcCommentListModel.h
//  ZITHER
//
//  Created by weixin on 2018/9/15.
//  Copyright © 2018年 weixn. All rights reserved.
//

#import "NSObjectModelDesc.h"
@class UgcCommentListModelSub;

NS_ASSUME_NONNULL_BEGIN

@interface UgcCommentListModel : NSObjectModelDesc

@property (nonatomic, strong) NSMutableArray<UgcCommentListModelSub *> *list;
@property (nonatomic,copy)NSString * total;//评论内容


@end





@interface UgcCommentListModelSub : NSObjectModelDesc

@property (nonatomic,copy)NSString * commentContent;//评论内容
@property (nonatomic,copy)NSString * commentId;//此评论 ID
@property (nonatomic,copy)NSString * commentParentId;//子评论 ID 如果与commentMasterId相同,代表评论内自己对自己评论
@property (nonatomic,copy)NSString * commentMasterId;//主评论 ID
@property (nonatomic,copy)NSString * isMaster;//判断是否是主评论
@property (nonatomic,copy)NSString * nickName;//名称

@property (nonatomic,copy)NSString * replyNickName;//被回复的名称
@property (nonatomic,copy)NSString * replyUserId;//被回复的 ID
@property (nonatomic,copy)NSString * replyAvatar;

@property (nonatomic, strong) NSMutableArray<UgcCommentListModelSub *> *sonCommentList;//子评论

@property (nonatomic,copy)NSString * createTime;//创建的时间待定

@property (nonatomic,copy)NSString * relType;
@property (nonatomic,copy)NSString * relId;

@property (nonatomic,copy)NSString * userId;//发布评论的 ID, 用于判断是否删除
@property (nonatomic,copy)NSString * avatar;



@end



NS_ASSUME_NONNULL_END
